<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        a,a:active,a:hover{
            text-decoration: none;
        }

        ul,ol,li{
            list-style: none;
        }

        .clear{
            clear: both;
            content: "";
            display: block;
        }

        .banner{
            width: 600px;
            height: 400px;
            border: solid;
            margin: 40px auto;
            position: relative;
        }

        .banner > ul{
            width: 500%;
            height: 100%;
            position:relative;
        }

        .banner > ul > li{
            width: 600px;
            height: 100%;
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            float:left;
            font-size: 150px;
        }

        .banner > ol {
            height: 50px;
            padding: 0px 10px ;
            background: rgba(0,0,0,.5);
            position: absolute;
            bottom: 50px;
            left: 50%;
            transform:translateX(-50%) ;
            border-radius: 15px ;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner > ol > li{
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #fff;
            margin: 0 15px;
            cursor: pointer;
        }

        .banner > ol > li.active{
            background: red;
        }

        .banner > div{
            width: 100%;
            height: 50px;
            position: absolute;
            left: 0;
            top: 50%;
            transform:translateY(-50%) ;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .banner > div > a{
            display: flex;
            width: 50px;
            height: 50px;
            font-size: 30px;
            color: #fff;
            background: rgba(0,0,0,.5);
            justify-content: center;
            align-items: center;
        }
    </style>
</head>
<body>
    
    <div class="banner">
        <ul class="clear">
            <li style="background:skyblue">图片1</li>
            <li style="background:pink">图片2</li>
            <li style="background:blue">图片3</li>
            <li style="background:orange">图片4</li>
            <li style="background:gray">图片5</li>
        </ul>
        <ol>
            <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ol>
        <div>
            <a href="JavaScript:;">&lt;</a>
            <a href="JavaScript:;">&gt;</a>
        </div>
    </div>
</body>
</html>